import { defineStore } from "pinia";
import { FoodsCategory } from "@/types/food";
export default defineStore("category", {
  state: () => ({
    categoryList: [] as Array<FoodsCategory>,
  }),

  actions: {
    setCategoryList(list: Array<FoodsCategory>) {
      this.categoryList = list;
    },
  },
});
